package org.example.myerp.pojo;

import java.io.Serializable;



public class Menu implements Serializable {

	private Integer mid;
	private String mname;
	private String path;
	private String photo;
	private Integer p_mid;
	private String parentName="";


	public Menu() {
		super();
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {

			this.parentName = parentName;


	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Integer getP_mid() {
		return p_mid;
	}

	public void setP_mid(Integer p_mid) {
		this.p_mid = p_mid;
	}

    @Override
    public String toString() {
        return "Menu{" +
                "mid=" + mid +
                ", mname='" + mname + '\'' +
                ", path='" + path + '\'' +
                ", photo='" + photo + '\'' +
                ", p_mid=" + p_mid +
                ", parentName='" + parentName + '\'' +
                '}';
    }
}
